//初始化app
var myApp = new Framework7({
    modalTitle: '能量逗',
    modalButtonOk: '知道了',
    animateNavBackIcon: true,
    precompileTemplates: true,
    template7Pages: true
});

//初始化view
var mainView = myApp.addView('.view-main', {
    dynamicNavbar: true
});

//预编译模板
myApp.gamePreTextTemplate = Template7.compile($$('script#gamePreText').html());
